package com.ruoyi.article.service;

import com.github.pagehelper.PageInfo;
import com.ruoyi.article.domain.Material;
import com.ruoyi.article.dtos.Result;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface MaterialService {


    Result uploadPicture(MultipartFile multipartFile);

    Result uploadPictureStatus(long id,Integer isSubmit);

    Result deletePicture(Long id);


    PageInfo<Material> listMaterials(int pageNum, int pageSize);

    Result getPhotoUrl();
}
